const testRouters = [
  {
    path: "/project/ExAssistant",
    meta: {
      title: "ExAssistant",
      icon: "Menu",
    },
    component: () => import("@/layout/index.vue"),
    children: [
      // 支付渠道列表 国家列表
      {
        path: "/project/ExAssistant/settings",
        name: "ExAssistant_settings",
        meta: {
          title: "平台设置",
          icon: "Menu",
        },
        children: [
          {
            path: "/project/ExAssistant/settings/sysCompany",
            name: "ExAssistant_settings_sysCompany",
            meta: {
              title: "公司主体管理",
              icon: "UserFilled",
              code: "ExAssistant_settings_syscompany",
            },
            component: () =>
              import(
                "@/views/project/ExAssistant/settings/sysCompany/index.vue"
              ),
          },
          {
            path: "/project/ExAssistant/settings/sysBanks",
            name: "ExAssistant_settings_sysbanks",
            meta: {
              title: "平台银行账户",
              icon: "UserFilled",
              code: "ExAssistant_settings_sysbanks",
            },
            component: () =>
              import("@/views/project/ExAssistant/settings/sysBanks/index.vue"),
          },
          {
            path: "/project/ExAssistant/settings/merRechargeCard",
            name: "ExAssistant_settings_merRechargeCard",
            meta: {
              title: "商户充值账户管理",
              icon: "UserFilled",
              code: "ExAssistant_settings_merrechargecard",
            },
            component: () =>
              import(
                "@/views/project/ExAssistant/settings/merRechargeCard/index.vue"
              ),
          },
          {
            path: "/project/ExAssistant/settings/currency",
            name: "ExAssistant_settings_currency",
            meta: {
              title: "法币币种",
              icon: "UserFilled",
              code: "ExAssistant_settings_currency",
            },
            component: () =>
              import(
                "@/views/project/ExAssistant/settings/currencyList/index.vue"
              ),
          },
        ],
      },
      // {
      //   path: "/project/ExAssistant/risk",
      //   name: "ExAssistant_risk",
      //   meta: {
      //     title: "风控管理",
      //     icon: "Menu",
      //   },
      //   component: () =>
      //     import("@/views/project/ExAssistant/settings/sysCompany/index.vue"),
      // },
      {
        path: "/project/ExAssistant/review",
        name: "ExAssistant_review",
        meta: {
          title: "审核管理",
          icon: "Menu",
        },
        children: [
          {
            path: "/project/ExAssistant/review/rules",
            name: "ExAssistant_review_rules",
            meta: {
              title: "审核规则",
              icon: "UserFilled",
              code: "ExAssistant_review_rules",
            },
            component: () =>
              import("@/views/project/ExAssistant/review/rules/index.vue"),
          },
          {
            path: "/project/ExAssistant/review/groups",
            name: "ExAssistant_review_groups",
            meta: {
              title: "审核组",
              icon: "UserFilled",
              code: "ExAssistant_review_groups",
            },
            component: () =>
              import("@/views/project/ExAssistant/review/groups/index.vue"),
          },
          {
            path: "/project/ExAssistant/review/user",
            name: "ExAssistant_review_user",
            meta: {
              title: "审核人",
              icon: "UserFilled",
              code: "ExAssistant_review_user",
            },
            component: () =>
              import("@/views/project/ExAssistant/review/user/index.vue"),
          },
          {
            path: "/project/ExAssistant/review/recharge",
            name: "ExAssistant_review_recharge",
            meta: {
              title: "充值审核",
              icon: "UserFilled",
              code: "ExAssistant_review_recharge",
            },
            component: () =>
              import("@/views/project/ExAssistant/review/recharge/index.vue"),
          },
          {
            path: "/project/ExAssistant/review/payment",
            name: "ExAssistant_review_payment",
            meta: {
              title: "付款审核",
              icon: "UserFilled",
              code: "ExAssistant_review_payment",
            },
            component: () =>
              import("@/views/project/ExAssistant/review/payment/index.vue"),
          },
          {
            path: "/project/ExAssistant/review/customer",
            name: "ExAssistant_review_customer",
            meta: {
              title: "客户审核",
              icon: "UserFilled",
              code: "ExAssistant_review_customer",
            },
            component: () =>
              import("@/views/project/ExAssistant/review/customer/index.vue"),
          },
        ],
      },
      //商户支付渠道
      {
        path: "/project/ExAssistant/merchant",
        name: "ExAssistant_merchant",
        meta: {
          title: "商户管理",
          icon: "Menu",
        },
        children: [
          {
            path: "/project/ExAssistant/merchant/merchantList",
            name: "ExAssistant_merchant_list",
            meta: {
              title: "商户列表",
              icon: "UserFilled",
              code: "ExAssistant_merchant_list",
            },
            component: () =>
              import(
                "@/views/project/ExAssistant/merchant/merchantList/index.vue"
              ),
          },
          {
            path: "/project/ExAssistant/merchant/userList",
            name: "ExAssistant_merchant_userlist",
            meta: {
              title: "登录用户列表",
              icon: "UserFilled",
              code: "ExAssistant_merchant_userlist",
            },
            component: () =>
              import(
                "@/views/project/ExAssistant/merchant/merchantUserList/index.vue"
              ),
          },
          {
            path: "/project/ExAssistant/merchant/kyc",
            name: "ExAssistant_merchant-kyc",
            meta: {
              title: "商户KYC资料",
              icon: "UserFilled",
              code: "ExAssistant_merchant_kyc",
            },
            component: () =>
              import(
                "@/views/project/ExAssistant/merchant/merchantKycList/index.vue"
              ),
          },
          {
            path: "/project/ExAssistant/merchant/currency",
            name: "ExAssistant_merchant-currency",
            meta: {
              title: "商户费率配置",
              icon: "UserFilled",
              code: "ExAssistant_merchant_currency",
            },
            component: () =>
              import(
                "@/views/project/ExAssistant/merchant/currencyList/index.vue"
              ),
          },
        ],
      },
      {
        path: "/project/ExAssistant/payassets",
        name: "ExAssistant_payassets",
        meta: {
          title: "商户资产",
          icon: "Menu",
        },
        children: [
          {
            path: "/project/ExAssistant/payassets/assetsList",
            name: "ExAssistant_payassets_list",
            meta: {
              title: "资产列表",
              icon: "UserFilled",
              code: "ExAssistant_payassets_list",
            },
            component: () =>
              import(
                "@/views/project/ExAssistant/payassets/assetsList/index.vue"
              ),
          },
          {
            path: "/project/ExAssistant/payassets/assetsRecords",
            name: "ExAssistant_payassets_records",
            meta: {
              title: "资产流水",
              icon: "UserFilled",
              code: "ExAssistant_payassets_records",
            },
            component: () =>
              import(
                "@/views/project/ExAssistant/payassets/assetsRecords/index.vue"
              ),
          },
        ],
      },
      {
        path: "/project/ExAssistant/recharge",
        name: "ExAssistant_recharge",
        meta: {
          title: "充值管理",
          icon: "Menu",
        },
        children: [
          {
            path: "/project/ExAssistant/recharge/rechargeOrder",
            name: "ExAssistant_recharge_order",
            meta: {
              title: "充值记录",
              icon: "UserFilled",
              code: "ExAssistant_recharge_order",
            },
            component: () =>
              import("@/views/project/ExAssistant/recharge/index.vue"),
          },
        ],
      },

      {
        path: "/project/ExAssistant/payment",
        name: "ExAssistant_payment",
        meta: {
          title: "付款管理",
          icon: "Menu",
        },
        children: [
          {
            path: "/project/ExAssistant/payment/paymentOrder",
            name: "ExAssistant_payment_order",
            meta: {
              title: "付款记录",
              icon: "UserFilled",
              code: "ExAssistant_payment_order",
            },
            component: () =>
              import("@/views/project/ExAssistant/payment/orderList/index.vue"),
          },
          {
            path: "/project/ExAssistant/payment/customerList",
            name: "ExAssistant_payment_customer",
            meta: {
              title: "付款客户",
              icon: "UserFilled",
              code: "ExAssistant_payment_customer",
            },
            component: () =>
              import(
                "@/views/project/ExAssistant/payment/customerList/index.vue"
              ),
          },
          {
            path: "/project/ExAssistant/payment/customerBankCard",
            meta: {
              title: "客户银行卡",
              icon: "UserFilled",
            },
            component: () =>
              import(
                "@/views/project/ExAssistant/payment/customerBankCard/index.vue"
              ),
          },
        ],
      },
      //换汇管理
      {
        path: "/project/ExAssistant/exchange",
        name: "ExAssistant_exchangeManagement",
        meta: {
          title: "换汇管理",
          icon: "Menu",
        },
        children: [
          {
            path: "/project/ExAssistant/exchange/exchangeRecords",
            name: "ExAssistant_exchangeOrder",
            meta: {
              title: "换汇记录",
              icon: "List",
              code: "ExAssistant_exchange_records",
            },
            component: () =>
              import(
                "@/views/project/ExAssistant/exchange/exchangeRecords/index.vue"
              ),
          },
          {
            path: "/project/ExAssistant/exchange/merchantRate",
            name: "ExAssistant_merchantRate",
            meta: {
              title: "商户汇率设置",
              icon: "List",
              code: "ExAssistant_merchantrate",
            },
            component: () =>
              import(
                "@/views/project/ExAssistant/exchange/merchantRate/index.vue"
              ),
          },
          {
            path: "/project/ExAssistant/exchange/baseRate",
            name: "ExAssistant_baseRate",
            meta: {
              title: "基础汇率",
              icon: "List",
              code: "ExAssistant_baserate",
            },
            component: () =>
              import("@/views/project/ExAssistant/exchange/baseRate/index.vue"),
          },
        ],
      },

      // 统计管理
      {
        path: "/project/ExAssistant/stats",
        name: "ExAssistant_statsManagement",
        meta: {
          title: "统计",
          icon: "Menu",
        },
        children: [
          {
            path: "/project/ExAssistant/stats/recharge",
            name: "ExAssistant_statsCredit",
            meta: {
              title: "充值统计",
              icon: "List",
              code: "ExAssistant_stats_recharge",
            },
            component: () =>
              import("@/views/project/ExAssistant/stats/recharge.vue"),
          },
          {
            path: "/project/ExAssistant/stats/payment",
            name: "ExAssistant_stats_payment",
            meta: {
              title: "付款统计",
              icon: "List",
              code: "ExAssistant_stats_payment",
            },
            component: () =>
              import("@/views/project/ExAssistant/stats/payment.vue"),
          },
          {
            path: "/project/ExAssistant/stats/exchange",
            name: "ExAssistant_stats_exchange",
            meta: {
              title: "换汇统计",
              icon: "List",
              code: "ExAssistant_stats_exchange",
            },
            component: () =>
              import("@/views/project/ExAssistant/stats/exchange.vue"),
          },
          {
            path: "/project/ExAssistant/stats/snapshot",
            name: "ExAssistant_stats_snapshot",
            meta: {
              title: "资产快照",
              icon: "List",
              code: "ExAssistant_stats_snapshot",
            },
            component: () =>
              import("@/views/project/ExAssistant/stats/snapshot.vue"),
          },
          {
            path: "/project/ExAssistant/stats/assetstats",
            name: "ExAssistant_payassets_assetstats",
            meta: {
              title: "商户账户统计",
              icon: "UserFilled",
              code: "ExAssistant_payassets_assetstats",
            },
            component: () =>
              import("@/views/project/ExAssistant/stats/fiatAssetStat.vue"),
          },
        ],
      },
    ],
  },
];

export default testRouters;
